﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YCMS.Domain.Entities;
using YCMS.Domain.Concrete;

namespace YCMS.Domain.Abstract
{
    public interface IMemberRepository
    {
        EfDbContext Context { get; set; }
        IQueryable<Member> Members { get; }
        Member GetMemberByID(int id);
        void InsertMember(Member member);
        void Save();
        void UpdateMember(Member member);
        void DeleteMember(Member member);

    }
}
